package com.sec.etech.chain.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sec.etech.chain.customer.entity.ProjCustomer;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ProjCustomerMapper extends BaseMapper<ProjCustomer> {
    @Select("SELECT customergroupid FROM `proj_customer` WHERE customerid = #{customerId};")
    public Long getCustomerGroupId(@Param("customerId") Long customerId);

}
